package com.my.spring.task.test;

import com.my.spring.task.annotation.MyJob;
import org.springframework.stereotype.Component;

/**
 * @author Zijian Liao
 * @since 1.0.0
 */
@Component
public class JobService {

    @MyJob("job1")
    public String job1(){
        return "job1";
    }

    @AopTest
    @MyJob("job2")
    public String job2(){
        return "job2";
    }
}
